package com.liu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
//乱码处理
public class EncodingController {
//   过滤器解决乱码
    @RequestMapping("/e/t")
    public  String test1(String name, Model model){
        model.addAttribute("msg",name);
        return "test";
    }
}
